import static org.junit.Assert.*;

import org.junit.Test;


public class CalendarUnitTest {
	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 1
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest1() {
	    CalendarUnit cu = new Year(1);
	    assertEquals(1, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 2
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest2() {
	    CalendarUnit cu = new Year(33);
	    assertEquals(33, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 3
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest3() {
	    CalendarUnit cu = new Year(444);
	    assertEquals(444, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 4
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest4() {
	    CalendarUnit cu = new Year(1989);
	    assertEquals(1989, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 5
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest5() {
	    CalendarUnit cu = new Year(1949);
	    assertEquals(1949, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 6
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest6() {
	    CalendarUnit cu = new Year(2000);
	    assertEquals(2000, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 7
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest7() {
	    CalendarUnit cu = new Year(2012);
	    assertEquals(2012, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 8
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest8() {
	    CalendarUnit cu = new Year(3456);
	    assertEquals(3456, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 9
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void getCurrentPosTest9() {
	    CalendarUnit cu = new Year(9999);
	    assertEquals(9999, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 10
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest1() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(1);
	    assertEquals(1, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 11
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest2() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(33);
	    assertEquals(33, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 12
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest3() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(444);
	    assertEquals(444, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 13
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest4() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(1989);
	    assertEquals(1989, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 14
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest5() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(1949);
	    assertEquals(1949, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 15
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest6() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(2000);
	    assertEquals(2000, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 16
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest7() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(2012);
	    assertEquals(2012, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 17
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest8() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(3456);
	    assertEquals(3456, cu.getCurrentPos());
	}

	/**
	 * @author: kavinyao
	 * @date: 2011-12-21T08:35:46.561000
	 * @version: 0.1
	 * @TCID: 18
	 * Purpose: test consistency
	 * Priority: 3
	 */
	@Test public void setCurrentPosTest9() {
	    CalendarUnit cu = new Year(0);
	    cu.setCurrentPos(9999);
	    assertEquals(9999, cu.getCurrentPos());
	}


}
